package com.bobo.dao;

import java.util.List;

import com.bobo.domain.Brand;
import com.bobo.domain.Goods;
import com.bobo.domain.Product;
import com.bobo.domain.Trail;
//mysql  crud
public interface GoodsMapper {
   //
	List<Goods> listGoods(Goods goods);//商品
	List<Brand> listBrand();//品牌
	List<Product> ListProduct();//品类
	Goods get(Integer id);
	int update(Goods goods);
	int addTrail(Trail trail);
	
	List<Trail> getTrailTotal();//统计操作信息
	
	List<Trail> getTraiInfo(Integer minute);//统计在多少分钟内
	int deleteById(Integer id);
	int add(Goods goods);
	
}
